package com.sh.rbac.core.common.annotation;

import com.sh.rbac.core.common.enums.OperationTypeEnum;

import java.lang.annotation.*;

/**
 * 操作日志注解
 *
 * @author wb
 * @since 2024-07-07
 */

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SysLog {

    /**
     * 操作模块
     */
    String module() default "";


    /**
     * 操作类型
     */
    OperationTypeEnum type() default OperationTypeEnum.OTHER;
}
